package com.cloud.order.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
* 客户端配置表(OauthCliendetails) 实体类
*
* @author zhangxun
* @since 2020-08-24
*/
@Data
@TableName(value = "oauth_cliendetails")
public class OauthCliendetails implements Serializable {
    private static final long serialVersionUID=1L;
    @TableId(type = IdType.AUTO)
    private String clienid;

    @TableField("resource_ids")
    private String resourceIds;

    @TableField("cliensecret")
    private String cliensecret;

    @TableField("scope")
    private String scope;

    @TableField("authorized_grantypes")
    private String authorizedGrantypes;

    @TableField("web_server_redirecuri")
    private String webServerRedirecuri;

    @TableField("authorities")
    private String authorities;

    @TableField("access_token_validity")
    private Integer accessTokenValidity;

    @TableField("refresh_token_validity")
    private Integer refreshTokenValidity;

    @TableField("additional_information")
    private String additionalInformation;

    @TableField("autoapprove")
    private Integer autoapprove;

    @TableField("origin_secret")
    private String originSecret;

}